package com.tanhua.dubbo.enums;

/**
 * 问卷难度
 */
public enum QuestionLevel {
    JUNIOR(2,"初级"), MIDDLE(3,"中级"), SENIOR(5,"高级");

    private int value;
    private String desc;

    QuestionLevel(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
